﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EntityProvider;
using PhotoGalleryEnteties;

namespace PhotogalleryModel
{
    public class ModelContext
    {

        private IContext _context;
   

        internal IContext Context{get { return _context; }}


        public ModelContext ()
        {
            _context = new PhotogalleryContext();


   

        }


        public void SaveChanges()
        {
            _context.SaveChanges();
        }
    }
}
